<template>
  <div>
  	{{testStore.data}}
  	<div><button @click="back()">返回</button></div>
  </div>
</template>

<script setup>
	import { reactive, ref, onMounted } from 'vue'

	import {useRouter} from "vue-router";
	const router = useRouter();

	import {useTestStore} from "@/store/testStore.js";
	const testStore = useTestStore();

	onMounted(() => {
	
	})

	function back() {
		router.back();
	}

</script>

<style scoped>

</style>